home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 April: Mac OS SDK / Dev.CD Apr 98 SDK1.toast / Development Kits (Disc 1) / QuickDraw 3D / Samples / SampleCode / Plug-in - DistanceProxyGroup / header / dpgMemory.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-08-14  |  852 b   |  34 lines  |  [TEXT/MPS ]

  1. /******************************************************************************
  2.  **                                                                             **
  3.  **     Module:        dpgMemory.h                                                 **
  4.  **                                                                          **
  5.  **                                                                          **
  6.  **                                                                          **
  7.  **                                                                          **
  8.  **                                                                          **
  9.  **     Copyright (C) 1995-1996 Apple Computer, Inc.  All rights reserved.     **
  10.  **                                                                          **
  11.  **                                                                          **
  12.  *****************************************************************************/
  13.  
  14. #ifndef dpgMemory_h
  15. #define dpgMemory_h
  16.  
  17. #if PRAGMA_ONCE
  18.     #pragma once
  19. #endif
  20.  
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif /*  __cplusplus  */
  24.  
  25. void *dpgAlloc(unsigned long size);
  26. void dpgFree(void *ptr);
  27. void *dpgRealloc(void *ptr, unsigned long size);
  28. void dpgCopy(const void *src, void *dst, unsigned long cnt);
  29.  
  30. #ifdef __cplusplus
  31. }
  32. #endif /*  __cplusplus  */
  33.  
  34. #endif